#author: 金荣财
#dest: print_diamond

for x in range(1, 8):
    if x <= 4:
        print((4-x) * " " + (2*x-1) * "*")
    else:
        print((x-4) * " " + "*" * (2*x-1-4*(x-4)))